<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

/**
 * App\Models\Users
 *
 * @property int $user_id
 * @property string $user_name
 * @property string $password
 * @property int|null $tel
 * @property string|null $address
 * @property int|null $isAdmin
 * @property \Illuminate\Support\Carbon|null $created_at
 * @method static \Illuminate\Database\Eloquent\Builder|Users newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Users newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Users query()
 * @method static \Illuminate\Database\Eloquent\Builder|Users whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Users whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Users whereIsAdmin($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Users wherePassword($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Users whereTel($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Users whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Users whereUserName($value)
 * @property \Illuminate\Support\Carbon|null $deleted_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|Users onlyTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|Users whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Users whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Users withTrashed()
 * @method static \Illuminate\Database\Eloquent\Builder|Users withoutTrashed()
 * @property int $root
 * @property int $status 账号状态：1：已启用
 * 	  0：未启用
 * 	  2：已禁用
 * @method static \Illuminate\Database\Eloquent\Builder|Users whereRoot($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Users whereStatus($value)
 * @mixin \Eloquent
 */
class Users extends Model
{
    use HasFactory;
    use SoftDeletes;
    protected $table = 'users';
    protected $primaryKey = 'user_id';
    public $incrementing = false;

}
